package proxy.staticProxy;

public class Proxy implements Person{

    private Man man;

    public Proxy() {}

    public Proxy(Man man){
        this.man = man;
    }
    @Override
    public void happy() {
        System.out.println("欢迎来到结婚现场");
        man.happy();
        System.out.println("大家嗨起来");
    }
}
